
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 DmsMachineManagement 分页列表
*/
export function getDmsMachineManagementPagination(data: any) {
  return axios.get(`${context}/dmsMachineManagement/pagination`, { params: data });
}


/**
 * 获取 DmsMachineManagement 所有数据
*/
export function getDmsMachineManagementAllList(data: any) {
  return axios.get(`${context}/dmsMachineManagement/all`, { params: data });
}


/**
 * 获取 DmsMachineManagement 详情
*/
export function getDmsMachineManagementDetailById(id: any) {
  return axios.get(`${context}/dmsMachineManagement/${id}`, { params:{id} });
}


/**
 * 新增 DmsMachineManagement
*/
export function addDmsMachineManagement(data: any) {
  return axios.post(`${context}/dmsMachineManagement`, data);
}

/**
 * 修改 DmsMachineManagement
*/
export function updateDmsMachineManagement(data: any) {
  return axios.put(`${context}/dmsMachineManagement`, data);
}

/**
 * 删除 DmsMachineManagement
*/
export function batchRemoveDmsMachineManagement(data: any) {
  return axios.post(`${context}/dmsMachineManagement/batchRemove`, data);
}

    